import { Component, OnInit } from '@angular/core';
import {EmitService} from '../../../providers/emit.service';

@Component({
  selector: 'app-welcome',
  templateUrl: './welcome.component.html',
  styleUrls: ['./welcome.component.css']
})
export class WelcomeComponent implements OnInit {

  tab = {
    name: '首页',
    url: '/sys/welcome',
    closeIcon:false
  };

  constructor(public emitService: EmitService) { }

  ngOnInit() {
    this.emitService.tabsEmit.emit(this.tab);
  }

}
